pb: main.o processbar.o
	gcc main.o processbar.o -o pb

main.o: main.c processbar.h
	gcc -c main.c -o main.o

processbar.o: processbar.c processbar.h
	gcc -std=c99 -c processbar.c -o processbar.o

.PHONY:clean
clean:
	rm -f *.o pb
